﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace MicropleSoft.WmsServiceLibrary.Exceptions
{
    public class DomainObjectNotExistDataTableNameException : Exception
    {
        private const string ErrorPrix = "领域模型对象没有设置特性\"MicropleSoft.WmsServiceLibrary.Data.DataTableName\"！";
        public DomainObjectNotExistDataTableNameException()
            : base()
        {

        }
        public DomainObjectNotExistDataTableNameException(string message)
            : base(message)
        {

        }
        public DomainObjectNotExistDataTableNameException(string message, Exception innerException)
            : base(message, innerException)
        {

        }
        protected DomainObjectNotExistDataTableNameException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {

        }

        public override string Message
        {
            get
            {
                return ErrorPrix;
            }
        }

        public override string ToString()
        {
            return ErrorPrix;
        }

    }
}


